package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2018/12/29  18:13
 */
@ApiModel("保存菜单前的检查参数")
public class SaveMenuCheckedEvt implements Serializable {
    private static final long serialVersionUID = 4225546603610484127L;
    @ApiModelProperty("父菜单ID")
    private Long parentId;
    @ApiModelProperty("菜单ID,新增时不用发，编辑时必发")
    private Long menuId;
    @ApiModelProperty("菜单名称")
    private String nameCn;
    @ApiModelProperty("菜单编码")
    private String nameEn;
    @ApiModelProperty("权限码")
    private String permissionCode;

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    @Override
    public String toString() {
        return "SaveMenuCheckedEvt{" +
            "parentId=" + parentId +
            ", menuId=" + menuId +
            ", nameCn='" + nameCn + '\'' +
            ", nameEn='" + nameEn + '\'' +
            ", permissionCode='" + permissionCode + '\'' +
            '}';
    }
}
